package com.yanqu.road.entity.player;

import com.yanqu.road.entity.DataObject;

/**
 * 密卷
 */
public class UserSecretVolume extends DataObject {

	private long userId;

	private int no;

	private long startDate;

	private long integral;

	private long exp;

	private String getRewardLevel;

	private int dateLength;

	private boolean isBuy;

	private long updateTime;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		if(this.userId != userId){
			this.userId = userId;
			setUpdateOption();
		}
	}

	public int getNo() {
		return no;
	}

	public void setNo(int no) {
		if(this.no != no){
			this.no = no;
			setUpdateOption();
		}
	}

	public long getStartDate() {
		return startDate;
	}

	public void setStartDate(long startDate) {
		if(this.startDate != startDate){
			this.startDate = startDate;
			setUpdateOption();
		}
	}

	public long getExp() {
		return exp;
	}

	public void setExp(long exp) {
		if(this.exp != exp){
			this.exp = exp;
			setUpdateOption();
		}
	}

	public long getIntegral() {
		return integral;
	}

	public void setIntegral(long integral) {
		if(this.integral != integral){
			this.integral = integral;
			setUpdateOption();
		}
	}

	public String getGetRewardLevel() {
		return getRewardLevel;
	}

	public void setGetRewardLevel(String getRewardLevel) {
		if(!getRewardLevel.equals(this.getRewardLevel)){
			this.getRewardLevel = getRewardLevel;
			setUpdateOption();
		}
	}

	public int getDateLength() {
		return dateLength;
	}

	public void setDateLength(int dateLength) {
		if(this.dateLength != dateLength){
			this.dateLength = dateLength;
			setUpdateOption();
		}
	}

	public boolean isBuy() {
		return isBuy;
	}

	public void setIsBuy(boolean isBuy) {
		if(this.isBuy != isBuy){
			this.isBuy = isBuy;
			setUpdateOption();
		}
	}

	public long getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(long updateTime) {
		if(this.updateTime != updateTime){
			this.updateTime = updateTime;
			setUpdateOption();
		}
	}
}
